<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:fragment="head(title)">

    <title th:text="${title}"></title>

    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>

    <link href="//cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet"/>
    <link th:href="@{/static/js/plugins/bootstrap-switch/css/bootstrap3/bootstrap-switch.min.css}" rel="stylesheet"/>
    <link th:href="@{/static/js/plugins/messenger/css/messenger.css}" rel="stylesheet"/>
    <link th:href="@{/static/js/plugins/messenger/css/messenger-theme-block.css}" rel="stylesheet"/>

    <!--<link th:href="@{/static/js/plugins/select2/3.4/select2.min.css}" rel="stylesheet"/>-->
    <!--<script th:src="@{/static/js/plugins/select2/3.4/select2.min.js}"></script>-->

    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script th:src="@{/static/js/crud.js}"></script>
    <script th:src="@{/static/js/menu.js}"></script>
    <script th:src="@{/static/js/util.js}"></script>
    <script th:src="@{/static/js/plugins/bootstrap-switch/js/bootstrap-switch.min.js}"></script>
    <script th:src="@{/static/js/plugins/messenger/js/messenger.min.js}"></script>

    <link th:href="@{/static/js/plugins/jquery-validation/1.11.1/jquery.validate.min.css}" rel="stylesheet"/>
    <script th:src="@{/static/js/plugins/jquery-validation/1.11.1/jquery.validate.js}"></script>
    <script th:src="@{/static/js/plugins/jquery-validation/1.11.1/lib/jquery.form.js}"></script>

    <script th:inline="javascript">
        var imgCtx = /*[[@{/static/img/}]]*/ 'imageCtx';
        var ctx = /*[[@{/}]]*/ 'ctx';

        $(function () {
            $('[data-toggle="tooltip"]').tooltip()
        })

        $(document).ready(function () {
//            $("select").select2({
//            });
        });
    </script>
</head>
<body>
</body>
</html>